<include file="__THEME__/header" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.form.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/weibo.js"></script>

<div class="content"><!-- 内容 begin  --> 
  <div class="main no_l">
    <div class="mainbox">
      <div class="mainbox_R">
	      <include file="../Space/space_right" />
      </div>
      <div class="mainbox_C lh180">
        <div class="friend_info">
 			<include file="../Space/userMenu" />
        </div>

      <if condition="$photo_list">
		<script src="{:SITE_URL}/apps/photo/Tpl/default/Public/js/preview.js" type="text/javascript"></script>
		<script>
			var photo_preview = '{$photo_preview}';
		</script>
        <dl class="SpacePicList">
        <dt><a href="{:U('photo/Index/albums', array('uid'=>$uid))}" class="right" target="_blank">全部相册</a><a href="{:U('photo/Index/photos', array('uid'=>$uid))}" class="right mr10" target="_blank">全部图片</a><strong>最新图片</strong></dt>
        <volist name="photo_list" id="li">
          <dd><a href="{:U('photo/Index/photo',array(id=>$li['id'],aid=>$li['albumId'],uid=>$li['userId']))}#show_pic" target="_blank"
	                 rel="__ROOT__/thumb.php?w=400&h=400&t=f&url={:SITE_URL}/data/uploads/{$li.savepath}" title="{$li.name}"
	                 class="preview" ><img src="__ROOT__/thumb.php?w=150&h=150&url={:SITE_URL}/data/uploads/{$li.savepath}" /></a></dd>
        </volist>
        </dl>
      </if>
      <div class="tab-menu"><!-- 切换标签 begin  -->
        <ul>
          <li><a id="feed_colleague_item" rel="colleague" class="<eq name='type' value='all'>on</eq> feed_item" href="{:U('home/Space/index',array('uid'=>$uid))}"><span>微博</span></a></li>
          <php>/*</php><li><a id="feed_all_item" rel="all" class="<eq name='type' value='original'>on</eq> feed_item" href="{:U('home/Space/index',array('type'=>'original','uid'=>$uid))}"><span>原创</span></a></li>
          <li><a id="feed_all_item" rel="all" class="<eq name='type' value='1'>on</eq> feed_item" href="{:U('home/Space/index',array('type'=>'1','uid'=>$uid))}"><span>图片</span></a></li>
          <li><a id="feed_all_item" rel="all" class="<eq name='type' value='3'>on</eq> feed_item" href="{:U('home/Space/index',array('type'=>'3','uid'=>$uid))}"><span>视频</span></a></li>
          <li><a id="feed_all_item" rel="all" class="<eq name='type' value='4'>on</eq> feed_item" href="{:U('home/Space/index',array('type'=>'4','uid'=>$uid))}"><span>音乐</span></a></li>
          <php>*/</php>
          <volist name="apps_list" id="vo">
          <li><a id="feed_colleague_item" rel="colleague" class="<if condition="$app_show eq $vo['app_name']">on</if> feed_item" href="{:U('home/Space/index',array('app_show'=>$vo['app_name'],'uid'=>$uid))}"><span>{$vo['app_alias']}</span></a></li>
          </volist>
        </ul>
      </div>
      <if condition="$app_show">
        {$app_show_content}
      <else />
      <div class="feedBox">
			{:W('WeiboList', array('mid'=>$mid, 'list'=>$list['data'], 'insert'=>0, 'hidden_user'=>1))}
      </div>
      <div class="page">{$list.html}</div>
      </if>
      <div class="c"></div>
    </div>
  </div>
  <div class="clear"></div>
</div>
</div>
<script>
  var weibo = $.weibo({
          timeStep : 60000
    });
</script>
{:Addons::hook('weibo_js_plugin')}
<!-- 内容 end --> 
<include file="__THEME__/footer" /> 